package net.ustc.javamemcached.backup;

import net.ustc.javamemcached.protocol.ProtocolMessage;

import org.jboss.netty.buffer.ChannelBuffer;

public interface IBackupStoreManager {
	public static enum BackupMode{
		SYNC, ASYNC
	}
	
	//load server info
	public void init();
	public boolean send(int backupNum, ProtocolMessage message);
	public void asyncSend(int backupNum, ProtocolMessage message);
	public void close();
	
}
